package com.xebest.web.view;

import com.xebest.util.DateUtil;

import java.text.SimpleDateFormat;

/**
 * @desc: 退货单列表
 * @author: chenjing
 * @createTime: 2017/7/3 0003 上午 10:51
 * @history:
 * @version:v1.0
 */
public class XeVenRejectView {
    /**
     * 退货单编码
     */
    private String rejectCode;

    /**
     * 售后单编码
     */
    private String afterSalesCode;

    /**
     * 仓库标识
     */
    private String storeId;

    /**
     * 退货仓库名称
     */
    private String storeName;

    /**
     * 退货原因
     */
    private Integer rejectReason;

    /**
     * 退货单状态 1：退货入库中 2：正常完成 3：异常完成
     */
    private Integer rejectStatus;

    /**
     * 创建日期
     */
    private String createDate;

    /**
     * 修改日期
     */
    private String modifyDate;

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 客户账号
     */
    private String loginAccount;

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(Integer rejectReason) {
        this.rejectReason = rejectReason;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getRejectCode() {
        return rejectCode;
    }

    public void setRejectCode(String rejectCode) {
        this.rejectCode = rejectCode;
    }

    public String getAfterSalesCode() {
        return afterSalesCode;
    }

    public void setAfterSalesCode(String afterSalesCode) {
        this.afterSalesCode = afterSalesCode;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public Integer getRejectStatus() {
        return rejectStatus;
    }

    public void setRejectStatus(Integer rejectStatus) {
        this.rejectStatus = rejectStatus;
    }


    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(DateUtil.toDate(createDate));
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(DateUtil.toDate(modifyDate));
    }
}
